|
|
Copyright ⌐ 2003-2004 Sashazur, LLC. |
License
How Sleepy works
Solving Problems
Reference
Basic Settings
Timekeeping Settings
Advanced Timekeeping Settings
Advanced Settings
Add/Edit Event
Shut Down Timer
Start Program
Logging
Compatibility with different versions of Windows
How Sleepy locks and unlocks
How Sleepy handles multiple users
How Sleepy handles Stand By
Using Sleepy on a network
Command line options
How to translate Sleepy
License
LICENSE AGREEMENT
Sleepy Version 6.0
Copyright ⌐ 2003-2004 by Sashazur, LLC
By purchasing, distributing, installing, or using Sleepy Version 6.0 ('Sleepy'), you agree to all of the terms, disclaimers, and limitations of this license agreement.
This is only a limited, non-exclusive license. Sashazur, LLC is and remains the owner of all titles, rights and interests in the software.
If you do not agree to any of the terms, disclaimers, or limitations in this agreement, then you may not distribute, install or use Sleepy, and you must destroy all copies of it that you possess.
This License Agreement is governed by the law of the State of Oregon applicable to state contracts, the Oregon Uniform Trade Secrets Act, and any applicable federal Trademark, Copyright and Patent laws.
LICENSE TERMS
You may not use Sleepy for more than 30 days without purchasing it.
If you have purchased a single user license, then you may either install Sleepy on a single computer for use by one or more persons, or install Sleepy on multiple computers for use by a single person, but not both.
If you have purchased a multiple user ('site') license, then you may install Sleepy on a number of computers no greater than that indicated at the time of purchase, and one or more persons may use each computer on which Sleepy is installed.
You may distribute the original unmodified Sleepy setup program (available for download at http://sleepy.sashazur.com), as long as you do not receive financial gain (or equivalent) from the distribution.
You may not lease, rent, lend, modify, reverse engineer, or disassemble Sleepy, or create derivative works based on Sleepy.
This License agreement is valid without a signature from Sashazur, LLC, and becomes effective upon your installation of the program.
WARRANTY DISCLAIMERS AND LIABILITY LIMITATIONS
Sleepy and its documentation are provided 'AS IS' with no warranties of any kind, whether express or implied.
Notwithstanding the foregoing, Sashazur, LLC and its agents cannot be held liable for any damages resulting from the use or misuse of Sleepy, or any defect in Sleepy or its documentation, including but not exclusive to compensatory, special, incidental, exemplary, punitive, or consequential damages.
You agree to defend and indemnify Sashazur, LLC and hold Sashazur, LLC harmless from all claims, losses, damages, complaints, or expenses connected with or resulting from your business operations.
Any liability of Sashazur, LLC will be limited solely to refund of the Sleepy purchase price.
TERMINATION
You may terminate this license at any time by informing Sashazur, LLC of your intention to do so.
If you violate any of the terms of this license, then Sashazur, LLC may terminate this license without any notice.
Upon termination, you must uninstall Sleepy from all computers and destroy any copies of it that you possess.
Back to contents
How Sleepy works
Sleepy runs invisibly in the background while you use your computer.
- When you turn on your computer, Sleepy starts automatically and shows its status (when it will shut down or restart or lock your computer).
- While you're using your computer, you can open Sleepy Settings to see or change Sleepy settings, and you can still shut down or restart your computer normally.
- Several minutes before shut down time, Sleepy will show a warning (warning and alert settings can be changed in Advanced Settings).
- At shut down time, Sleepy will show a "Shutting down..." alert for 10 seconds, and then it will try to shut down your computer (if you have unsaved documents open, you'll be prompted to save them).
- If Sleepy's first shut down attempt didn't work, then 5 minutes later, Sleepy will force your computer to shut down (and if you still have any unsaved documents open, you won't be prompted to save them).
Details
- Sleepy will shut down (or restart) your computer whether or not any user is logged on.
- Sleepy can get the time from the Internet, making it impossible to get around Sleepy by changing the computer's clock.
- If you set Sleepy to restart instead of shut down, the computer starts up again immediately after it shuts down.
- If your computer needs to keep running, you can use Sleepy's lock setting. When Sleepy locks the computer, programs keep running, but the computer can't be used (to unlock, you can enter your password or restart).
- To discourage cheating, if you change any of Sleepy's settings, Sleepy won't apply the new settings until the next time the computer starts (this can be changed in Advanced Settings).
- You can set up multiple events to have Sleepy do different things at different times on different days (see Advanced Settings).
- Sleepy can work as a shut down timer, allowing you to set the computer to shut down (or restart) after a certain amount of time has passed (see Shut Down Timer).
- On multi-user computers, only administrator users can access Sleepy's settings, disable Sleepy when they log on, or uninstall Sleepy (you can also password-protect these items).
- Sleepy can be set to limit computer use for a specified number of hours after shut down.
- Sleepy can run a program before it shuts down (see Start Program).
- You can set up a group of computers on a network to share Sleepy settings, controlled from a single computer (see Using Sleepy on a network).
- Sleepy won't shut down or restart while your computer is in stand by or hibernating (see How Sleepy Handles Stand By).
- If the system time or date is changed while Sleepy is running, Sleepy ignores the change and still shuts down at the correct time.
- Sleepy can't be stopped with Ctrl-Alt-Del.
- Sleepy automatically closes DOS programs before it shuts down.
- Sleepy automatically closes unresponsive programs before it shuts down.
- Sleepy automatically closes messages that Windows may show during shut down, allowing shut down to continue.
See also: Advanced Settings
See also: Using Sleepy on a network
Back to contents
Solving Problems
My kid is managing to disable or avoid Sleepy somehow
The computer doesn't turn off after it shuts down
The computer restarts when it's supposed to shut down
The Program is not responding error appears at shut down
The computer freezes or shows an error at shut down
The computer keeps running and doesn't shut down when it should
The computer doesn't start up when it should
The status message appears twice
Internet time sets the time wrong, or doesn't set the time at all
The Connect window appears after the computer starts
Start Program doesn't work
Can't use the Shut Down Timer when Sleepy is on
Authenticode signature not found
A DLL was not found
Some other problem
Back to contents
To make it as difficult as possible for someone to disable or avoid Sleepy, you should:
- Create a password: While a password is set, only someone who knows the password can change settings, disable, or uninstall Sleepy. To create a password, open Sleepy Settings and click Password...
- Use Internet timekeeping: When Sleepy uses Internet time, it can't be affected by changes made to the computer's clock. To turn on Internet timekeeping, open Sleepy Settings and click Timekeeping..., then click Get the time from the Internet.
- Use the 'Limit' option: When you use this setting, Sleepy will prevent the computer from being used after it shuts it down. To turn on limiting, open Sleepy Settings and check For 8 hours after shut down, limit computer sessions....
- If you have Windows XP: use Windows' User Accounts control panel to create one or more limited accounts for your kids, and make sure all other accounts have passwords. Limited users can't change Sleepy settings, and they also can't install or uninstall programs, or change the computer's clock.
- Make sure Sleepy is always on: When Sleepy is on, it protects its files from being changed or deleted. Open Sleepy Settings and make sure Sleepy is on.
- Set these options in Advanced Settings:
Check Wait until next startup to apply changes
Uncheck Allow Sleepy to be stopped...
Check If 'Save changes?' not responded to... (Windows 95/98/Me only)
Check Prevent use of Date and Time control panel (Windows 95/98/Me only)
Check Prevent use of Registry Editor... (Windows 95/98/Me only)
- Disable BIOS access: Some computers allow the clock to be changed by the computer's hardware BIOS setup (sometimes also called a hardware setup utility), before Windows even starts. If you can't use the other options above to prevent changes to the time, you may be able to prevent access to the BIOS utility by setting a BIOS password. Not all computers have this option; check your computer or motherboard manufacturer's manual and support website.
Note: After you make any changes listed above, restart your computer to apply the changes.
Back to Solving Problems
Try to shut down from the Start menu. Does the computer turn off? If it doesn't, then Sleepy won't be able to turn it off either. You may need to configure your computer to power off; follow the instructions below specific to your version of Windows.
To enable power off at shut down in Windows XP, 95, 98, and Me:
To enable power off at shut down in Windows 2000:
- Make sure you've installed the most recent Microsoft service pack (Sleepy was tested with SP2 for Windows 2000).
- Open the Power Options control panel.
- Click the APM tab (if this tab is missing, then advanced power management is not enabled on your computer. You may need to enable it in BIOS setup).
- Check Enable Advanced Power Management support.
- Click OK.
- Restart your computer.
To enable power off at shut down in Windows NT4:
- Make sure advanced power management is enabled on your computer. You may need to enable it in BIOS setup.
- Make sure you've installed the most recent Microsoft service pack (Sleepy was tested with SP6a for Windows NT4).
- Extract the file HAL.DLL.SOFTEX from the service pack you're using (run the service pack .exe with the /x command line option).
- Rename HAL.DLL.SOFTEX to HAL.DLL and copy it over the original HAL.DLL in \WINNT\SYSTEM32 (first rename the original to HAL.DLL.BAK in case you need to restore it later).
- Run Regedit and open the key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon. In that key is the value PowerdownAfterShutdown (if it doesn't exist, add it as a string value). Change that value from 0 to 1.
- Exit Regedit.
- Restart your computer.
If you continue to have problems:
Back to Solving Problems
Open Sleepy Settings and check your settings. If the settings are correct, then the problem is probably a hardware or Windows configuration issue. To correct it, follow the steps below specific to your version of Windows:
If you have Windows XP, 95, 98, or Me:
If you have Windows NT4 or 2000:
- Your computer's power management settings may not be correct; make sure your computer is correctly configured to power off at shut down. Follow the steps above for either NT4 or 2000.
If you continue to have problems:
- You can have Sleepy shut down your computer without trying to power off, which should prevent it from restarting. Open Sleepy Settings, click Advanced, click Details, and uncheck Power off at shut down.
Back to Solving Problems
This error can happen at shut down time if you have unsaved documents, and you ignore the 'Save changes?' prompt. This error will also occur if a program is simply not working correctly.
To prevent this error, Sleepy does two things:
- Just before shut down time, Sleepy detects and closes any unresponsive programs.
- If the 'Save changes?' prompt appears, Sleepy will wait to give you a chance to respond, but after 19 seconds it will automatically click 'No' to remove the prompt (Sleepy can't wait longer, because Windows only waits 20 seconds before assuming a program is unresponsive. Also, Sleepy can't click 'Yes' for you, because that may display further messages and further delay shut down).
If the you get this error, make sure that the If 'Save changes?' not responded to... option in Advanced Settings is checked, and that the number of seconds is less than 20.
If that option is checked, and the problem still happens, then check the Always force shut down... option in Advanced Settings. From then on, sleepy will always force shut down/restart.
Warning! This setting doesn't let programs prompt you to to save unsaved documents. Also, forced shut down/restart without saving open files may cause file system errors. After forced shut down, you should check for and correct any file system errors.
Back to Solving Problems
If the error is Program is not responding, see the advice above in "The Program is not responding error appears at shut down".
Other types of errors are usually caused by a badly behaved program or
bad driver software for a hardware device. If you suspect this,
restart your computer, start the suspicious program if necessary, then try to
shut down or restart from the Start menu. If the problem still
happens, the best thing to do is to avoid using that program, and check to see
if there is an updated version.
Back to Solving Problems
Sleepy won't try to shut down the computer if:
If you didn't see any messages from Sleepy before shut down was supposed to happen, then chances are your settings are not what you think they are, or your computer's clock is wrong.
Back to Solving Problems
Were you trying to use the Restart setting to turn the computer on? The Restart setting only works if the computer is already turned on; it's the same as the Restart option in the Start menu.
Some computers can be set up in BIOS to automatically turn on at a specific time; check your computer's manual.
Back to Solving Problems
This can happen if you use Internet timekeeping and your computer's clock is wrong.
In this situation, Sleepy will start and show the status message based on the computer's clock. As soon as Sleepy is able to read the Internet, if it sees that the computer's clock was wrong, it will re-display the status message with the correct time (and it may also show a different shut down event, depending on how wrong the clock was).
Back to Solving Problems
Check the following:
- Your Windows time zone settings may be set wrong. To fix this, open the Date and Time Properties control panel to check the time zone. Change the time zone if needed. Then open Sleepy Settings, click Timekeeping..., click Advanced..., and click Reset Time Zone...
- Make sure that Set computer's clock.. in Advanced Timekeeping Settings is checked. To view this setting, open Sleepy Settings, click Timekeeping..., then click Advanced...
- When used with an always-on Internet connection, some older versions of windows may incorrectly report that you don't have a connection, and therefore Sleepy won't try to read Internet time. To fix this, open Sleepy Settings, click Timekeeping..., click Advanced..., and uncheck Wait for an Internet connection. Warning! If you have a dial-up connection, this may cause Sleepy to dial your ISP.
Back to Solving Problems
If Sleepy tries to read Internet time without waiting for an existing Internet connection, the computer may ask you to connect to the Internet. To fix this, open Sleepy Settings, click Timekeeping..., click Advanced..., and check Wait for an Internet connection.
Back to Solving Problems
This is intentional; it prevents someone from using the Shut Down Timer to make Sleepy shut down later than it normally would.
To change this, open Sleepy Settings, click Advanced..., and uncheck Wait until next startup to apply changes. Then restart the computer. After that change, you'll be able to use the Shut Down Timer whether Sleepy is on or off.
Back to Solving Problems
Open Advanced Settings and make sure that the Start a program option is checked. Then click Details in the option to open the Start Program window.
Click Test. If you got an error, make sure the path is correct, and that any arguments are outside of the double-quote marks.
If Test worked, but the program still won't run before shut down, then check the following:
- Did you shut down or restart manually by using the Start menu? The program won't run if you do this; it only runs before Sleepy's scheduled shut down/restart time.
- Was there enough time for the program to run? The program won't run if there isn't enough time to run it (e.g. if you turned on the computer 3 minutes before shut down time, but the program is set to run 5 minutes before shut down).
- Was a user logged on? The program only runs if a user is logged on to the computer. With Windows XP, if more than one user is logged on via Switch User, then the program will run only in the current user's session.
Back to Solving Problems
Authenticode signatures are an optional security feature included with some software.
If you see the message Authenticode Signature Not Found when you try to download Sleepy, it doesn't mean there's a problem; all it means is that Sleepy does not include this optional security feature.
Back to Solving Problems
If you saw the message WS2_32.DLL was not found when you tried to install Sleepy, then install a newer version of Microsoft Internet Explorer (recommended), or if you have Windows 95 only, install the Windows Socket 2 Update. Then run Sleepy setup again.
If a different DLL was missing, install the most recent service pack for your version of Windows. Service packs are available at Windows Update.
Back to Solving Problems
Go to the Sleepy web site and use the contact form to send a message to support. Please include as much detail as possible about what you were doing (or trying to do) when the problem occurred.
Please write in english if possible!
Back to Solving Problems
Back to contents
Reference
Basic Settings
This shows the most common settings. If you change any settings, the new settings aren't applied until the next time your computer starts (you can change this in Advanced Settings).
- Sleepy is on/off: Turns Sleepy on or off. When Sleepy is off, it won't shut down, restart or lock your computer and all settings are ignored.
- Stop...: This button is normally hidden, but you can choose to show it by checking the Allow Sleepy to be stopped... option in Advanced Settings. Click Stop to stop Sleepy until the next time the computer starts. Whe Sleepy is stopped, it won't shut down, restart, or lock your computer.
- View Status: Point to this to see Sleepy's current status. The status might be different from the settings, because settings aren't applied until the next time the computer starts (you can change this with the Wait until next startup... option in Advanced Settings).
- Action: Selects whether Sleepy should shut down, restart, or lock the computer.
- Days: Chooses which days of the week Sleepy should shut down, restart, or lock the computer.
Note: If you want shut down/restart/lock at different times on different days, or shut down later today, use Advanced Settings.
- Time: Chooses what time on the specified days Sleepy should shut down, restart, or lock the computer.
- Options: Choose whether Sleepy should limit computer use after shut down or lock time. If you check this setting, and the computer is turned within 8 hours of shut down or lock time, then Sleepy will shut it down or lock it again after only 5 minutes. Sleepy will do this whether you or Sleepy shut down the computer earlier. To change the number of hours or minutes, use Advanced Settings.
- Password: Creates (or changes or removes) a password. While a password is set, only someone who knows the password can change settings, disable, or uninstall Sleepy. When you create a password, you should also create a recovery question and answer, in case you forget your password later.
Note: Passwords are not case-sensitive (e.g. If your password is secretagent, then SECRETAGENT or SeCRetAGenT will also work).
- Timekeeping: Shows the Timekeeping window where you can set Sleepy to use Internet timekeeping.
- Advanced...: Shows Advanced Settings.
See also: Advanced Settings
Back to contents
Timekeeping Settings
This window lets you choose how Sleepy keeps track of the current time and date. If possible, you should always have Sleepy get time from the Internet.
Notes:
• | Sleepy won't try to read time from the Internet until you're connected. Once you're connected, Sleepy will stay on Internet time even after you disconnect. |
• | Even if you don't use Internet timekeeping, Sleepy will ignore any changes to the computer's clock until the next time the computer starts. |
• | If you use Internet timekeeping, then each time you connect to the Internet (even if your computer has an 'always on' connection), Sleepy will reset itself to the correct day and time, which may cause it to redisplay the status message. |
• | If someone changes the computer's clock settings, Sleepy will internally stay on correct time, even though the clock display may be wrong. |
See also: Advanced Timekeeping Settings
Back to contents
Advanced Timekeeping Settings
This window lets you control advanced settings for Internet timekeeping.
- NTP Servers used to get time: This section lets you choose which servers Sleepy should attempt to read the time from.
- 1, 2, 3: The selected servers. Choose a server from the drop-down list. If you want a server that's not listed, click Edit NTP Servers.
- Test: Tries to access the selected server, and shows the results.
- Edit NTP Servers: Lets you add, change or remove servers.
- More options:
- Automatically adjust for daylight savings time: When this is checked, Sleepy will adjust the time it reads to account for daylight savings time. Leave this checked unless Sleepy doesn't correctly handle daylight savings.
- Reset time zone: Click this to synchronize Sleepy to the time zone set for your computer. Do this after you change the time zone in the Date and Time Properties control panel. You normally won't need to click this button unless you have moved your computer into a different time zone.
- Set computer's clock...: When this is checked, Sleepy will automatically set your computer's clock to match the time read from the Internet (this does not affect when Sleepy will shut down, it only affects the clock display).
- Wait for an Internet connection: When this is checked, Sleepy won't try to read Internet time until it detects an existing Internet connection. If this is unchecked, Sleepy will always try to read Internet time. Warning! If you have a dial-up connection, unchecking this setting may cause Sleepy to dial your ISP.
- SNTP Port: Sets the port number for SNTP communication. The default port is 123; don't change this unless your network environment is non-standard.
Note:
• | When Sleepy uses Internet time, it will shut down at the correct time whether or not you checked Set computer's clock.
|
See also: Timekeeping
Back to contents
Advanced Settings
This window has everything in Basic Settings, plus additional settings. Only the additional settings are listed here:
- Active Events: Shows the list of events (all events are always active).
- Add/Edit: Add a new event or edit the selected event. See Add/Edit Event.
- Delete: Deletes the selected event. To delete all but the first event, hold down the Alt key when clicking Delete.
- Move Up/Down: Changes the order of events in the list. Changing the order doesn't affect when events occur, but it does let you sort events in any way that's convenient for you.
- Notes about Events:
- Each time your computer starts (and when you connect to the Internet, if you're using Sleepy's Internet timekeeping), Sleepy scans all the events starting from the current day and time, and selects the soonest available shut down/restart time.
- If you have more than one event in Advanced Settings, and then you go back to Basic Settings, only the first event in the list will be shown. The other events will still be active, but you can only see them in Advanced Settings.
- The maximum number of shut downs or restarts per day is 24 (extra ones are ignored). The maximum number of events in the list is 100 (if you try to add more, you'll hear a beep).
- Timer: Shows the Shut Down Timer window which lets you shut down the computer after a certain amount of time has passed.
- Options: Shows a list of options you can use to change Sleepy's behavior:
- What to do when Sleepy starts
- Show Sleepy status for n seconds
Check this to show status each time a user logs on.
- Show 'Message for Users' (if next event isn't lock)
Check this to show a detailed message about Sleepy each time a user logs on. Click Preview to see an example of the message.
- What to do before events
- Show warning n minutes before
Check this to show a warning n minutes before Sleepy shuts down, restarts, or locks the computer.
- Start a program
Check this to make Sleepy run a program you specify before it shuts down, restarts, or (optionally) locks the computer. Click Details to set the program options.
- Show alert n seconds before
Check this to show an alert message n seconds before Sleepy shuts down, restarts, or locks the computer.
- Settings Options
- Wait until next startup to apply changes (unless Sleepy was off)
Check this to require the computer to be restarted before changes to settings can be applied -- a good idea if you're using Sleepy to control your own computer use.
- Allow Sleepy to be stopped until next startup
Check this to show a Stop button in settings (the button won't appear until the settings are applied); when you click Stop, Sleepy will stop running until the next time the computer starts.
- Limited sessions last n minutes
You can change the number of minutes that Sleepy will allow the computer to be used when Sleepy is limiting computer use. This will change the number of minutes shown in the For n hours after shut down time, limit computer use to n minutes... setting.
- Reset all settings to defaults at next startup
Check this and Sleepy will reset ALL settings to original values the next time it starts.
- Shut Down and Restart Options
- If 'Save changes?' not responded to after n seconds, auto-click 'No'
This option is only available in Windows 95, 98, and Me. Check this to prevent the Program is not responding error, which will happen if there are unsaved documents when Sleepy shuts down or restarts the computer and the Save changes? prompt is ignored. On some older versions of Windows, after this error occurs, Sleepy won't be able to shut down the computer.
- If first shut down/restart attempt failed, retry (forced) n minutes later
Check this to make Sleepy re-try shut down or restart if the first attempt didn't work.
- Always force shut down/restart (Warning! work may be lost)
Check this to force the computer to shut down or restart immediately, instead of first giving you a chance to save any changed documents. Warning! This will not give you a chance to save changed documents!
- Power off at shut down
Check this to have the computer power off after Sleepy shuts it down.
- Lock Options
- Sleepy can be unlocked by entering password
Check this if you want to be able to unlock the computer by entering your password.
- If unlocked without a password, shut down/restart n minutes later
You can change the number of minutes that Sleepy will wait before it shuts down or restarts after it was unlocked without a password.
- Miscellaneous
- Prevent use of Date and Time control panel
This option is only available in Windows 95, 98, and Me. Check this if you don't want anyone to be able to open the Date and Time control panel when Sleepy is active. You'll still be able to change the date and time, but Sleepy will require you to restart the computer first.
- Prevent use of Registry Editor and System Configuration Editor
This option is only available in Windows 95, 98, and Me. Check this if you don't want anyone to be able to open these programs that someone might try to use to tamper with Sleepy.
- Enable Logging
Check this to make Sleepy save a record of its operations into a log file. Click Details to show the Logging window where you can change logging settings.
- Notes about Options:
- To enable a disabled (gray) option, try checking or unchecking the item immediately above or below it.
- To check or uncheck an option without using the mouse, use the up/down arrows to select the option, then press spacebar.
- To open a link (underlined item) in an option without using the mouse, use the up/down arrows to select the option, then press Ctrl-spacebar (if the option doesn't have a checkbox, pressing spacebar alone will also work).
- Basic...: Shows Basic Settings.
See also: Basic Settings
Back to contents
Add/Edit Event
This window adds a new event or edits the selected event. It's opened by the Add... and Edit... buttons in Advanced Settings.
- Action: Whether this event should shut down, restart, or lock the computer.
- Days: Chooses which days of the week this event should occur.
- Time: When this event should occur on the selected days.
- Session limit option: This is only available for shut down and lock events. If this is checked, then if the computer is turned on too soon after the shut down/lock time, it can only be used for 5 minutes before it will shut down or lock again. This happens whether you or Sleepy shut down the computer earlier.
See also: Advanced Settings
Back to contents
Shut Down Timer
This window lets you set Sleepy to shut down or restart the computer after a certain amount of time has passed. It's opened by clicking Timer... in Advanced Settings.
The minumum timer duration is 5 minutes; the maximum is 24 hours.
The timer normally only can be used when Sleepy is off. To also be able to use it when Sleepy is on, you must first uncheck the Wait until next startup to apply changes option in Advanced Settings (and then restart the computer to apply the change).
If you use the Shut Down Timer when Sleepy is on (see above), it has priority over Sleepy's normal settings. For example, suppose Sleepy is normally set to shut down daily at 11PM. If you use the timer at 9PM to shut down in 3 hours, then Sleepy will wait 3 hours and shut down at midnight, instead of at 11PM.
Note: The timer setting is temporary and only lasts until the computer shuts down. The next time the computer starts, Sleepy will use its normal settings again.
See also: Advanced Settings
Back to contents
Start Program
This window controls the settings for the Start a program option in Advanced Settings. It's opened by clicking Details... on the Start a program option.
- Program: Type the program executable name here and any optional arguments. Including the full path is optional. If you include arguments, enclose the part before the arguments in double quotes.
Examples: | | xyz.exe |
| | c:\Program Files\ABC\xyz.exe |
| | "c:\Program Files\ABC\xyz.exe" /arg1 |
- Browse...: Displays the Open dialog box so you can search for programs.
- Test: Runs the program immediately to verify that it works correctly.
- Number of minutes...: Controls the number of minutes before shut down or restart that Sleepy will run the program.
- Start the program before lock events too: Normally the program only runs before Sleepy shuts down or restarts the computer, but if you check this box, the program will also run before Sleepy locks the computer.
Notes:
• | The program only runs before Sleepy's scheduled shut down time. The program doesn't run when you shut down from the Start menu. |
• | The program won't run if there isn't enough time to run it (e.g. if you turned on the computer 3 minutes before shut down time, but Number of minutes... is set to 5). |
• | Sleepy will shut down even if the program is still running at shut down time. Make sure you set the number of minutes high enough to allow time for the program to finish. |
• | The program won't run if no user is logged on to the computer. With Windows XP, if more than one user is logged on via Switch User, then the program will run only in the current user's session. |
• | Sleepy won't show any error messages if it can't run the program. If the program doesn't run, either the program information is incorrect, or one of the above situations is preventing it from running. |
See also: Advanced Settings
Back to contents
Logging
This window controls the settings for the Enable logging option in Advanced Settings. It's opened by clicking Details... on the Enable logging option.
- Folder for log files: Type the path to an existing folder on a local hard drive. Log files will be created in this folder.
- Browse...: Displays the Open dialog box so you can search for folders.
- Explore: Opens an explorer window for the folder so you can view its contents.
- Maximum log file size: Choose the maximum size for each log file. When a log file exceeds this size, a new log file is created (the old one is saved).
Notes:
• | Log files are named sequentially; e.g. SleepyLog_00000.log, SleepyLog_00001.log, etc. |
• | Sleepy writes timestamped log entries for the following operations:
- Sleepy service task start/stop
- User logon/logoff
- Start program
- Reset to next event
- Initiating shutdown/restart
- System shutdown
- Lock/unlock
- System standby/resume
- Settings started/changed/exited
- Password created/changed/removed/recovered
- Uninstall/overinstall
- Internet time read/clock set
|
See also: Advanced Settings
Back to contents
Compatibility with different versions of Windows
Sleepy works with Windows XP, 95, 98, Me, 2000, and NT4. For best results, make sure you have installed the most recent service pack for your version of windows. Service packs are available at Windows Update.
If you have Windows XP and use Switch User to log on multiple users:
If more than one user is logged on when Sleepy shuts down, then programs won't prompt you to save any new or changed documents. To avoid lost work, save as soon as you see Sleepy's Shutting down... or Restarting... alert.
If more than one user is logged on and the Start Program setting is active, then Sleepy will run the program only in the current user's session.
If you have Windows NT or 2000:
If your computer doesn't power off at shut down, see Solving Problems.
See also: Advanced Settings
Back to contents
How Sleepy locks and unlocks
The lock option is intended for situations where the computer must continue doing background processing, while still preventing anyone from using it.
When Sleepy locks the computer, any programs that were running continue to run, but the screen is blanked and the mouse and keyboard are ignored.
Click Unlock to see these choices:
After unlocking, the computer can be used normally. You can manually shut down or restart via the Start menu without waiting for Sleepy to do it.
Notes:
• | Use the If unlocked without a password... option in Advanced Settings to change the number of minutes that Sleepy waits after unlock before it shuts down or restarts. |
• | Sleepy will only lock if a user is logged on. |
• | A locked computer will stay connected to the Internet and can still be accessed if it's on a network. |
See also: Advanced Settings
Back to contents
How Sleepy handles multiple users
If several people have accounts on one computer that uses Sleepy, then...
There are no user-specific settings
- Sleepy has only one set of settings for all users. This allows Sleepy to work predictably even if no user is logged on, or if more than one user is logged on to the same computer (which is possible with Windows XP's fast user switching feature).
Limited/restricted users can't make changes:
- Only administrator users can install or uninstall Sleepy, and view or change Sleepy settings.
If you use Switch User to log on multiple users (Windows XP only):
See also: Using Sleepy on a network
See also: Advanced Settings
Back to contents
How Sleepy Handles Stand By
If you use stand by (or hibernate), then...
- While the computer is asleep, Sleepy won't shut it down or restart it.
- If the computer is asleep while Sleepy would have shut it down or restarted it, and then it wakes up later:
- If it was asleep for less than 30 minutes, Sleepy will shut it down 5 minutes after it wakes up.
- If it was asleep for 30 minutes or more, Sleepy will reset to the next available shut down/restart time.
See also: Things to know
Back to contents
Using Sleepy on a network
If you install Sleepy on a computer that is on a network, then...
You can manage a group of computers that use Sleepy
- You can have all computers on your LAN share the same Sleepy
settings, controlled from a single computer. To learn more about this, and to set it up, run \Program Files\Sleepy\NETSET.EXE.
You can install and uninstall silently
- To install Sleepy silently, use the command sleepy_setup.exe /verysilent. Sleepy will be initially turned off, no desktop icon will be created, and the language will be set to either the current user's language if available in Sleepy, otherwise english.
-
To uninstall silently, use the command \Program Files\Sleepy\unins000.exe /silent. An uninstall progress window will appear briefly, but no user input is required.
Note: If Sleepy 6.x is already installed, then performing a silent install will update Sleepy files to the most recent version, without changing Sleepy's language, settings, or status.
You can register from the command line
- To register sleepy, use the command \Program Files\Sleepy\settings.exe /reg name code. The name can contain spaces. This option has no effect if Sleepy is already registered, or if the name or code is incorrect.
Example: \Program Files\Sleepy\settings.exe /reg John Smith S600-CTJC-R939-X6VF-WH34
You can save and load settings from the command line
You can have Sleepy show helpful information to users
- You can choose to have Sleepy show a warning message each time users log on. This message will warn users that Sleepy can cause them to lose unsaved work. To enable this message, go to Advanced Settings and check the Show 'Message for Users' option.
See also: How Sleepy handles multiple users
See also: Command line options
Back to contents
Command line options
Command line options to shut down or restart (with optional delay)
Use the following command line options with settings.exe to shut down or restart your computer:
| /shutdown | | Shuts down (and turns off) the computer. |
|
| /restart | | Restarts the computer. |
|
| /timer hh:mm | | Optional. Shut down or restart a specified number of hours/minutes from now (instead of immediately). See Shut Down Timer for details. |
|
| /force | | Optional. Forces shut down or restart (doesn't prompt to save documents). Ignored if combined with /timer. |
|
| Examples: | | Turn off the computer immediately (first prompt to save any documents): C:\Program Files\Sleepy\settings.exe /shutdown |
|
| | | Restart the computer immediately (without prompting to save documents): C:\Program Files\Sleepy\settings.exe /restart /force |
|
| | | Shut down the computer in 3 hours and 5 minutes: C:\Program Files\Sleepy\settings.exe /shutdown /timer 03:05 |
Command line options for saving and loading settings
Use the following command line options with settings.exe to save and load settings:
| /save file.ini | | Saves current settings into the file file.ini |
|
| /apply file.ini | | Loads and applies settings from the file file.ini |
|
| Examples: | | Save current settings to a file: C:\Program Files\Sleepy\settings.exe /save C:\files\weekly.ini |
|
| | | Load saved settings from a file, and apply them: C:\Program Files\Sleepy\settings.exe /apply C:\files\weekly.ini |
Command line options for install and uninstall
See Using Sleepy on a network for command line options related to install/uninstall.
Notes:
• | Command line options must be all lowercase (as shown above). |
• | Command line options only work if user has administrator privileges. |
• | /shutdown will turn off the computer if the Power off at shut down option is checked in Advanced Settings. |
• | Unless you use /timer, /shutdown and /restart ignore the Start Program option in Advanced Settings. |
• | /shutdown and /restart will force DOS and unresponsive programs to close. |
• | If Sleepy is off, settings from /apply take effect immediately; if Sleepy is on, settings from /apply don't take effect until the next time the computer starts. |
See also: Using Sleepy on a network
Back to contents
How to translate Sleepy
Before you start, check the Sleepy web site to see if your language is already available; new languages may be added at any time. Note: At this time, Sleepy can't be translated into
non-european languages (e.g., chinese, japanese, hebrew, arabic, etc).
You will need to translate 3 files:
• | Language File: This is an text file (in Windows .ini format) with a .lng extension. It contains the text used in Sleepy's windows, dialogs, and messages. |
• | Help File: This is an HTML file with a .htm extension. It contains the Help for Sleepy. |
• | License Agreement: This is an ANSI text file with a .txt extension. It contains the license agreement text shown when installing and registering. |
Follow these instructions to translate:
-
Install Sleepy in english (you must install in english; if you install a different language these instructions won't work).
-
Open the folder \Program Files\Sleepy and make copies of the files
english.lng, english.htm, and license.txt. Keep these copies in the same folder as the originals.
-
Rename the copies of the .lng and .htm files to the name of your language (e.g., if translating to
spanish, you could rename them to espanol.lng and espanol.htm). The file name doesn't have to be an exact match to the language name, and it should use only english characters (e.g., e is OK, ê is not OK).
-
Rename license.txt to <langname>-license.txt, where <langname> is the name of your language (e.g. if translating to spanish as in the above example,
rename to espanol-license.txt).
-
Translate the copies. To edit the .htm file, use any HTML editor. To edit the .lng and .txt files, we recommend you use a text editor program like Notepad that doesn't insert line breaks or other formatting. Windows XP/2000/NT Users: Save files in ANSI format, not unicode.
-
Run the language checker at \Program Files\Sleepy\CHECKLANG.EXE. Use it to check your .lng file against the original english.lng. If it shows any errors, fix them and check again.
-
If the language checker displays a Langid= value, update that line in your .lng file.
-
Run Sleepy Settings and try all the commands and make sure that no text is cut off or missing. Also make sure to restart
your computer, and watch while Sleepy shuts down and restarts, to make sure
that all messages are correct.
Your translation could be added to the next update of Sleepy. If you would like to see your translation added, use the contact form on the Sleepy web site to contact support.
Back to contents
Copyright ⌐ 2003-2004 Sashazur, LLC.